package com.pctx.bibadevicemanager.pojo;

import java.util.List;

public class DeviceUser {
    // 状态：-1删除 1正常
    public static final Byte STATUS_OK = 1;
    public static final Byte STATUS_DEL = -1;

    // 类型：1设备拥有者 2被分享者
    public static final Byte TYPE_OWNER = 1;
    public static final Byte TYPE_SHARED = 2;

    private Integer id;

    private String uuid;

    private String deviceUuid;

    private String userUuid;

    private Byte type;

    private Byte status;

    private String RoleUuids;

    private List<Role> roles;

    public String getRoleUuids() {
        return RoleUuids;
    }

    public void setRoleUuids(String roleUuids) {
        RoleUuids = roleUuids;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getDeviceUuid() {
        return deviceUuid;
    }

    public void setDeviceUuid(String deviceUuid) {
        this.deviceUuid = deviceUuid == null ? null : deviceUuid.trim();
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid == null ? null : userUuid.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}